<%--
  Created by IntelliJ IDEA.
  User: lenove
  Date: 2024/10/13
  Time: 上午9:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%request.setCharacterEncoding("UTF-8");%>
<jsp:useBean id="ps" class="com.example.javaweb.bean.Person" scope="page"/>
<jsp:setProperty name="ps" property="*"/>
姓名：<jsp:getProperty name="ps" property="name"/><br>
性别：<jsp:getProperty name="ps" property="sex"/><br>
年龄：<jsp:getProperty name="ps" property="age"/><br>
</body>
</html>
